<div class="portlet">
    <form class="portlet-search-body" name="queryForm">
        <div class="input-group input-large date-picker input-daterange" ed-date-picker style="float: left;margin-right: 10px;">
            <input type="text" class="form-control" ng-model="startTime" placeholder="开始时间">
            <span class="input-group-addon">- </span>
            <input type="text" class="form-control" ng-model="endTime" placeholder="结束时间">
        </div>
        <input type="text" class="form-control search-item" ng-model="location" placeholder="签到地点">
        <div class="search-item">
            <button class="btn btn-icon-only default"><i class="fa fa-chevron-right"></i></button>
            <button class="btn btn-sm query" ng-click="grid.query();"><i class="fa fa-search"></i> 查询</button>
            <button class="btn btn-sm reset" ng-click="grid.reset();"><i class="fa fa-eraser"></i> 重置</button>
        </div>
    </form>
    <div class="portlet-body">
        <table ed-grid="grid"  class="table table-striped table-bordered table-advance table-hover"
               data-options="url: 'sign/query.do', modelText: 'xx列表', form: 'queryForm', modal: 'modal'">
            <thead>
            <tr>
                <th data-options="field: '_index'"></th>
                <th data-options="field: 'empName'">签到人</th>
                <th data-options="field: 'signTime'">签到时间</th>
                <th data-options="field: 'location'">签到地点</th>
                <th>位置</th>
            </tr>
            </thead>
        </table>
    </div>
</div>

<div ed-modal="modal" data-options="title: '位置', static: true, width: 900, defaultButton:false,onHidden:'reset'">
    <form action="#" class="form-horizontal w5c-form" w5c-form-validate novalidate name="validateForm">
        <div id="signPositionModalMapDiv" style="height: 500px;width: 100%;">
        </div>

        <div class="form-actions">
            <button type="button" class="btn blue" ng-click="grid.cancel();">
                <i class="fa fa-times"></i> 确定
            </button>
        </div>
    </form>

</div>
